.class final Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;
.super Ljava/lang/Object;
.source "DownloadTrackingBean.java"


# instance fields
.field private bundleId:Ljava/lang/String;

.field private deviceId:Ljava/lang/String;

.field private distribution:Ljava/lang/Boolean;

.field private host:Ljava/lang/String;

.field private key:Ljava/lang/String;

.field private version:Ljava/lang/String;


# direct methods
.method constructor <init>()V
    .locals 1

    .prologue
    .line 23
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 28
    const-string v0, ""

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->deviceId:Ljava/lang/String;

    .line 33
    const-string v0, ""

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->bundleId:Ljava/lang/String;

    .line 38
    const-string v0, "1.0"

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->version:Ljava/lang/String;

    .line 43
    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->distribution:Ljava/lang/Boolean;

    .line 48
    const-string v0, "sdk"

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->host:Ljava/lang/String;

    .line 55
    const-string v0, "qwertyuiop[]"

    iput-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->key:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public calculateToken()Ljava/lang/String;
    .locals 2

    .prologue
    .line 63
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->bundleId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->version:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->distribution:Ljava/lang/Boolean;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->key:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/burstly/lib/util/Signature;->getSignature(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getBundleId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 77
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->bundleId:Ljava/lang/String;

    return-object v0
.end method

.method public getDeviceId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->deviceId:Ljava/lang/String;

    return-object v0
.end method

.method public getDistribution()Ljava/lang/Boolean;
    .locals 1

    .prologue
    .line 91
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->distribution:Ljava/lang/Boolean;

    return-object v0
.end method

.method public getHost()Ljava/lang/String;
    .locals 1

    .prologue
    .line 98
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->host:Ljava/lang/String;

    return-object v0
.end method

.method public getKey()Ljava/lang/String;
    .locals 1

    .prologue
    .line 109
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->key:Ljava/lang/String;

    return-object v0
.end method

.method public getVersion()Ljava/lang/String;
    .locals 1

    .prologue
    .line 84
    iget-object v0, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->version:Ljava/lang/String;

    return-object v0
.end method

.method public setBundleId(Ljava/lang/String;)V
    .locals 0
    .parameter "bundleId"

    .prologue
    .line 123
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->bundleId:Ljava/lang/String;

    .line 124
    return-void
.end method

.method public setDeviceId(Ljava/lang/String;)V
    .locals 0
    .parameter "deviceId"

    .prologue
    .line 116
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->deviceId:Ljava/lang/String;

    .line 117
    return-void
.end method

.method public setDistribution(Ljava/lang/Boolean;)V
    .locals 0
    .parameter "distribution"

    .prologue
    .line 137
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->distribution:Ljava/lang/Boolean;

    .line 138
    return-void
.end method

.method public setHost(Ljava/lang/String;)V
    .locals 0
    .parameter "host"

    .prologue
    .line 144
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->host:Ljava/lang/String;

    .line 145
    return-void
.end method

.method public setKey(Ljava/lang/String;)V
    .locals 0
    .parameter "key"

    .prologue
    .line 155
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->key:Ljava/lang/String;

    .line 156
    return-void
.end method

.method public setVersion(Ljava/lang/String;)V
    .locals 0
    .parameter "version"

    .prologue
    .line 130
    iput-object p1, p0, Lcom/burstly/lib/downloadtracker/DownloadTrackingBean;->version:Ljava/lang/String;

    .line 131
    return-void
.end method
